package org.jeecg.modules.yks.dev.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 设备零件配置管理
 * @Author: jeecg-boot
 * @Date:   2023-11-29
 * @Version: V1.0
 */
@Data
@TableName("yks_equipment_configuration_part")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="yks_equipment_configuration_part对象", description="设备零件配置管理")
public class YksEquipmentConfigurationPart implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private String id;
	/**设备id*/
	@Excel(name = "设备id", width = 15)
    @ApiModelProperty(value = "设备id")
    private String equipmentId;
	/**零部件id*/
	@Excel(name = "零部件id", width = 15)
    @ApiModelProperty(value = "零部件id")
    private String materialId;
	/**零部件名称*/
	@Excel(name = "零部件名称", width = 15)
    @ApiModelProperty(value = "零部件名称")
    private String materialName;
	/**零部件类别*/
	@Excel(name = "零部件类别", width = 15, dicCode = "material_type")
	@Dict(dicCode = "material_type")
    @ApiModelProperty(value = "零部件类别")
    private String materialType;
	/**配置人员角色*/
	@Excel(name = "配置人员角色", width = 15)
    @ApiModelProperty(value = "配置人员角色")
    private String configRoles;
	/**零部件位号*/
	@Excel(name = "零部件位号", width = 15)
    @ApiModelProperty(value = "零部件位号")
    private String locationNumber;
	/**控件类型*/
	@Excel(name = "控件类型", width = 15)
    @ApiModelProperty(value = "控件类型")
    private String controlType;
	/**控件值*/
	@Excel(name = "控件值", width = 15)
    @ApiModelProperty(value = "控件值")
    private String controlValue;
	/**是否必填*/
	@Excel(name = "是否必填", width = 15)
    @ApiModelProperty(value = "是否必填")
    private String controlRequired;
	/**有效期*/
	@Excel(name = "有效期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "有效期")
    private Date effectiveDate;
	/**最大次数*/
	@Excel(name = "最大次数", width = 15)
    @ApiModelProperty(value = "最大次数")
    private Integer maximumTimes;
	/**扩展日期字段*/
	@Excel(name = "扩展日期字段", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "扩展日期字段")
    private Date extDate;
	/**扩展日期字段1*/
	@Excel(name = "扩展日期字段1", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "扩展日期字段1")
    private Date extDate1;
	/**扩展数字字段*/
	@Excel(name = "扩展数字字段", width = 15)
    @ApiModelProperty(value = "扩展数字字段")
    private BigDecimal extNumber;
	/**扩展数字字段1*/
	@Excel(name = "扩展数字字段1", width = 15)
    @ApiModelProperty(value = "扩展数字字段1")
    private BigDecimal extNumber1;
	/**扩展数字字段2*/
	@Excel(name = "扩展数字字段2", width = 15)
    @ApiModelProperty(value = "扩展数字字段2")
    private BigDecimal extNumber2;
	/**扩展字符字段*/
	@Excel(name = "扩展字符字段", width = 15)
    @ApiModelProperty(value = "扩展字符字段")
    private String extText;
	/**扩展字符字段1*/
	@Excel(name = "扩展字符字段1", width = 15)
    @ApiModelProperty(value = "扩展字符字段1")
    private String extText1;
	/**扩展字符字段2*/
	@Excel(name = "扩展字符字段2", width = 15)
    @ApiModelProperty(value = "扩展字符字段2")
    private String extText2;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**多租户标识*/
	@Excel(name = "多租户标识", width = 15)
    @ApiModelProperty(value = "多租户标识")
    private String tenantId;
	/**删除状态*/
	@Excel(name = "删除状态", width = 15)
    @ApiModelProperty(value = "删除状态")
    @TableLogic
    private Integer delFlag;
	/**版本*/
	@Excel(name = "版本", width = 15)
    @ApiModelProperty(value = "版本")
    private Integer version;
	/**租户业务隔离ID*/
	@Excel(name = "租户业务隔离ID", width = 15)
    @ApiModelProperty(value = "租户业务隔离ID")
    private String tenantBusinessId;

    /**更换日期*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "更换日期")
    private java.util.Date changeDate;

    /**更换日期*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "检查日期")
    private java.util.Date checkDate;

    /**更换日期*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "保养日期")
    private java.util.Date maintenanceDate;

    /**检查间隔*/
    @Excel(name = "检查间隔(单位:月)", width = 15)
    @ApiModelProperty(value = "检查间隔(单位:月)")
    private Integer checkGap;

    /**检查间隔*/
    @Excel(name = "保养间隔(单位:月)", width = 15)
    @ApiModelProperty(value = "保养间隔(单位:月)")
    private Integer maintenanceGap;

    /**检查间隔*/
    @Excel(name = "更换间隔(单位:月)", width = 15)
    @ApiModelProperty(value = "更换间隔(单位:月)")
    private Integer changeGap;

    /**备注*/
    @Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String remark;
}
